wayland: Ensure we have a dnd-ask cursor
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 20:38:02 +0000 (15:38 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 23:11:07 +0000 (18:11 -0500)
We use this for DND, so make sure that we fall back to some other
cursor if this one isn't present.

gdk/wayland/gdkcursor-wayland.c

index bdfa3167df20d063b83c599bdc4c1066f7e94e00..4f938178befab88725a9a5ba8ed9463324559e96 100644 (file)
@@ -100,6 +100,7 @@ static const struct {
   { "copy",         "dnd-copy" },
   { "move",         "dnd-move" },
   { "no-drop",      "dnd-none" },
+  { "dnd-ask",      "dnd-copy" }, /* not CSS, but we want to guarantee it anyway */
   { "not-allowed",  "crossed_circle" },
   { "grab",         "hand2" },
   { "grabbing",     "hand2" },